﻿using NodeCanvas.Framework;
using ParadoxNotion.Design;

namespace Yoozoo.Gameplay.City.AI.Node
{
    [Category("Ggame/City")]
    public class NpcPlayAnimation : AIBaseNode
    {
        [RequiredField]
        public BBParameter<string> stateName;
        
        protected override void OnExecute()
        {
            base.PlayAnimation(stateName.value);
            EndAction(true);
        }
    }
}